<?php
declare (strict_types = 1);

namespace app\model\admin;

// use app\model\AdminBaseModel;
use think\model\Pivot;

/**
 * @mixin \think\Model
 */
class SysUserRole extends Pivot
{
    //
    // 数据表名称
    protected $table = 'sys_user_role';
    protected $scopeField = false;

    //可搜索字段
    protected $searchField = [];
    protected $singleSearchField = [];
    //可作为条件的字段
    protected $whereField = ['user_id', 'role_id'];
    //可做为时间范围查询的字段
    protected $timeField = [];
    //不允许删除的ID
    public $noDeletionId = [1];

    
}
